//
//  NSString+EDEncode.h
//  Demo_Encrypt
//
//  Created by ChenBing on 2020/3/9.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSString (EDEncode)

//转Data
@property(nullable, readonly, copy) NSData   *ed_utf8Data;
/*base64解密*/
- (NSData *)ed_base64DecodeData;
/*base64加密字符串*/
@property(nullable, readonly, copy) NSString *ed_base64Encode;
/*base64解密字符串*/
@property(nullable, readonly, copy) NSString *ed_base64Decode;

/*url编码字符串*/
@property(nullable, readonly, copy) NSString *ed_urlEncode;
/*url解码字符串*/
@property(nullable, readonly, copy) NSString *ed_urlDecode;


@end

NS_ASSUME_NONNULL_END
